home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol F-12 / (Vol F-12) Jun 02 2012.iso / Games / adjust4 / setup / setup.exe / scripts / DefineSprite_168 / frame_41 / DoAction.as
Text File  |  2012-06-02  |  857b  |  56 lines

  1. if(_root.liftcount._currentFrame < 6)
  2. {
  3.    if(_root.pfh._currentFrame != _root.piccount)
  4.    {
  5.       if(_root.alltime != 0)
  6.       {
  7.          with(_root.pfh)
  8.          {
  9.             nextFrame();
  10.          }
  11.          with(_root.pth)
  12.          {
  13.             nextFrame();
  14.          }
  15.       }
  16.    }
  17.    else if(_root.th == 9)
  18.    {
  19.       with(_root.pfh)
  20.       {
  21.          gotoAndStop(1);
  22.       }
  23.       with(_root.pth)
  24.       {
  25.          gotoAndStop(1);
  26.       }
  27.       with(_root.liftcount)
  28.       {
  29.          gotoAndStop(1);
  30.       }
  31.    }
  32. }
  33. else
  34. {
  35.    with(_root.pfh)
  36.    {
  37.       gotoAndStop(1);
  38.    }
  39.    with(_root.pth)
  40.    {
  41.       gotoAndStop(1);
  42.    }
  43.    with(_root.liftcount)
  44.    {
  45.       gotoAndStop(1);
  46.    }
  47. }
  48. with(_root.timebox)
  49. {
  50.    gotoAndStop(1);
  51. }
  52. _root.th = 0;
  53. _root.pointbar.gotoAndStop(1);
  54. _root.kejia = 0;
  55. stop();
  56.